<!--
 * @Descripttion: 延住
 * @version: 1.0
 * @Author: 狸猫
 * @Date: 2023-11-25 14:29:36
 * @LastEditors: 狸猫
 * @LastEditTime: 2023-11-25 16:17:14
-->
<template>
  <div class="content">
    <el-dialog
      :title="title"
      :visible.sync="visible"
      width="800px"
      append-to-body
      :before-close="close"
    >
      <el-form :model="form" :inline="true">
        <el-form-item label="实际离房日期（财务终止日期）">
          <el-date-picker
            v-model="form.time"
            type="daterange"
            range-separator="至"
            start-placeholder="开始日期"
            end-placeholder="结束日期"
          >
          </el-date-picker>
        </el-form-item>
        <el-form-item label="是否生成账单">
          <el-radio-group v-model="form.isCleaningFee">
            <el-radio label="1">是</el-radio>
            <el-radio label="2">否</el-radio>
          </el-radio-group>
        </el-form-item>
        
        <el-form-item label="延住原因">
          <el-input v-model="form.cleaningFee"></el-input>
        </el-form-item>
      </el-form>

      <span slot="footer" class="dialog-footer">
        <el-button @click="close">取 消</el-button>
        <el-button type="primary" @click="close">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>
<script>
export default {
  name:"delay",
  props: {
    visible: {
      type: Boolean,
      default: false,
    },
    roomId: {
      type: String,
      default: "",
    },
  },
  data() {
    return {
      title: "延住",
      form: {
        isCleaningFee: "1",
      },
      
    };
  },
  methods: {
    close() {
      this.$emit("closeeldialog");
    },
  },
};
</script>
<style lang="sasss" scoped></style>
